<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04运算符</title>
</head>
<body>
<script>
  /*除法显示实际运算结果*/
  console.log(3/2);
  console.log(4/2);

  let a=1;
  let b=true;

  console.log(a==b);/*松散比较运算符==,true转换为number后为1*/
  console.log(a===b);/*严格运算符，先比较类型在比较值*/

  console.log(3<10);
  console.log('3'<'10')
  console.log('朱'.charCodeAt());

  let c=0;
  console.log(c==0?'Yes':'No')
</script>
</body>
</html>